home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / dev / c / crcPPC.readme < prev    next >
Text File  |  1998-05-05  |  3KB  |  82 lines

  1. Short:    Fast CRC tools & sources (PPC and 68k)
  2. Author:   unknown
  3. Uploader: Andreas_Kleinert@t-online.de
  4. Type:     dev/c
  5. Replaces: crc.lha
  6.  
  7.  CRC2, CRCFast and CRCTab ports for 68k and PPC,
  8.  including sources. Author unknown.
  9.  
  10.  The difference 68k -> PPC gets significant
  11.  on large files, e.g. greater 1 MB.
  12.  
  13.  1.0: - PPC/68k port for Amiga
  14.  1.1: - changed "unsigned int" to "unsigned short int" in
  15.         both, crc2.c and crcfast.c
  16.       - no more regargs for the 68k version (PPC, too)
  17.       - fixed array overflow in crcfast.c
  18.       - hopefully works ok now - if not, feel free to
  19.         send bug reports by *email*
  20.  
  21.  --
  22.  ARK, 17/Mar/98
  23.  
  24. *************************************************************************************
  25.  
  26.                 Cyclic Redundancy Check
  27. ---------------------------------------------------------
  28.  
  29. This archive includes the following three files:
  30.  
  31.         crc2.c          Computes crc by bit shifting
  32.         crcfast.c       Computes crc by table lookup
  33.         crctab.c        Computes tables used in crcfast.c
  34.         crc.doc         This file
  35.  
  36.         The utilities crc2 and crcfast compute the cyclic redundancy checks
  37. for both the crc-16 (used in arc files) and crc-ccitt (used in xmodem).
  38. crcfast is faster than crc2.  These routines compute the crc's for a
  39. given file as a means of checking data integrity.
  40.         These routines compile without change under Turbo C.  All are
  41. short and illustrate the basic principles of crc calculations.
  42.  
  43.  
  44.  
  45. CRC References:
  46.  
  47.         C Programmer's Guide to Serial Communications, J. Compbell,
  48.                 Howard W. Sams & Co.,(1987)
  49.  
  50.         The Great CRC Mystery, T. Ritter, Dr. Dobb's Journal,
  51.                 (February 1986)
  52.  
  53.         Byte-Wise CRC Calculations, A. Perez, Wismer, & Becker,
  54.                 IEEE Micro, (June 1983)
  55.  
  56. *************************************************************************************
  57.  
  58.  
  59. ============================= Archive contents =============================
  60.  
  61. Original  Packed Ratio    Date     Time    Name
  62. -------- ------- ----- --------- --------  -------------
  63.      933     514 44.9% 11-Mar-98 14:42:30 +crc.doc
  64.    10412    6662 36.0% 17-Mar-98 18:31:14 +crc2
  65.     2080     909 56.2% 17-Mar-98 18:30:52 +crc2.c
  66.    34080   15504 54.5% 17-Mar-98 18:31:32 +crc2.elf
  67.      835     391 53.1% 11-Mar-98 14:38:58 +crc2.info
  68.    11380    7725 32.1% 17-Mar-98 18:31:18 +crcfast
  69.     6179    2509 59.3% 17-Mar-98 18:29:36 +crcfast.c
  70.    35070   16558 52.7% 17-Mar-98 18:31:38 +crcfast.elf
  71.      835     395 52.6% 11-Mar-98 14:39:02 +crcfast.info
  72.     1887     881 53.3% 17-Mar-98 18:41:14 +crcPPC.readme
  73.     8272    5344 35.3% 17-Mar-98 18:31:22 +crctab
  74.     1635     673 58.8% 11-Mar-98 14:32:22 +crctab.c
  75.    26992   12638 53.1% 17-Mar-98 18:31:44 +crctab.elf
  76.      835     388 53.5% 11-Mar-98 14:39:04 +crctab.info
  77.      189     131 30.6% 17-Mar-98 18:27:02 +SCOPTIONS
  78.      483     148 69.3% 11-Mar-98 14:32:56 +smakefile
  79.      438     143 67.3% 11-Mar-98 14:38:14 +smakefile68k
  80. -------- ------- ----- --------- --------
  81.   142535   71513 49.8% 17-Mar-98 20:56:08   17 files
  82.